#include<stdio.h>
#include<conio.h>
void main()
{
	int sum = 0, i, marks[4];
	float avg;

	clrscr();

	for(i = 0; i <= 3; i++)
	{
		printf("\n\n\t\tEnter Student's marks: ");
		scanf("%d", &marks[i]);
	}

	for(i = 0; i <= 3; i++)
	{
		sum = sum + marks[i];
	}

	avg = sum / 4.0;

	printf("\n\n\t\tThe Total Sum = %d", sum);

	printf("\n\n\t\tAverage marks = %f", avg);

	getch();
}

